import SDK from "./SDK";

export class VIVOSDK extends SDK {

    onEvents() {
        super.onEvents();

    }

    protected setAdCfg(): void {
        // this.adConfig.adBannerIdList = ["595496"];      // 指定 Banner 单元广告ID
        // this.adConfig.adVideoIdList = ["595498"];       // 指定激励视频广告ID,
        // this.adConfig.adInterstitialId = "";            // 指定插屏广告ID
        // this.adConfig.adCustomIdList = ["595543"];      // 指定原生模板广告ID，原生模板广告支持多个
    }

    /**
      * 显示 Banner 广告
      */
    protected showBanner() {
        console.log("showBanner");


    }

    //退出游戏
    protected onExitApp() {
        console.log('退出游戏')
        if (window["qg"]) {
            window["qg"].exitApplication({});
        }

    }
}
